Class VTPProcessImpl

All Implemented Interfaces:
IPCObject, Process, VTPProcess

public class VTPProcessImpl extends ProcessImpl implements VTPProcess
Information provided by the PKI file:

    \class VtpProcess
    
    \brief VtpProcess handles and manipulates the VTP process.
    
    \example network().getDevice("Switch0").getProcess("VtpProcess")
    
Author:
Auto-generated
  • Constructor Details

  • Method Details

    • setDomainName

      public void setDomainName(String domainName)
      Information provided by the PKI file:
      
          \brief Sets the VTP domain name.
          
          \param domainName, the domain name.
          
              
      Specified by:
      setDomainName in interface VTPProcess
      Parameters:
      domainName - Takes in a parameter of domainName
    • getDomainName

      public String getDomainName()
      Information provided by the PKI file:
      
          \brief Returns the VTP domain name.
          
          \return string, the domain name.
          
              
      Specified by:
      getDomainName in interface VTPProcess
      Returns:
      String Returns a String
    • setMode

      public void setMode(VTPMode type)
      Information provided by the PKI file:
      
          \brief Sets the VTP mode.
          
          \param type,        the VTP mode.
          VTP modes:  eVtpServer = 0,
          eVtpClient = 1,
          eVtpTransparent = 2
          
              
      Specified by:
      setMode in interface VTPProcess
      Parameters:
      type - Takes in a parameter of type
    • getMode

      public VTPMode getMode()
      Information provided by the PKI file:
      
          \brief Returns the VTP mode.
          
          \return VtpMode,    the VTP mode.
          VTP modes:  eVtpServer = 0,
          eVtpClient = 1,
          eVtpTransparent = 2
          
              
      Specified by:
      getMode in interface VTPProcess
      Returns:
      VTPMode Returns a VTPMode
    • setVersion

      public void setVersion(Byte version)
      Information provided by the PKI file:
      
          \brief Sets the VTP version.
          
          \param version, the VTP version.
          
              
      Specified by:
      setVersion in interface VTPProcess
      Parameters:
      version - Takes in a parameter of version
    • getVersion

      public Byte getVersion()
      Information provided by the PKI file:
      
          \brief Returns the VTP version.
          
          \return byte, the VTP version.
          
              
      Specified by:
      getVersion in interface VTPProcess
      Returns:
      Byte Returns a Byte
    • setPassword

      public void setPassword(String password)
      Information provided by the PKI file:
      
          \brief Sets the VTP password.
          
          \param password, the VTP version.
          
              
      Specified by:
      setPassword in interface VTPProcess
      Parameters:
      password - Takes in a parameter of password
    • getPassword

      public String getPassword()
      Information provided by the PKI file:
      
          \brief Returns the VTP password.
          
          \param string, the VTP version.
          
              
      Specified by:
      getPassword in interface VTPProcess
      Returns:
      String Returns a String
    • getConfigRevision

      public int getConfigRevision()
      Information provided by the PKI file:
      
          \brief Returns the configuration revision number.
          
          \return int, the configuration revision number.
          
              
      Specified by:
      getConfigRevision in interface VTPProcess
      Returns:
      int Returns a int